import request from '@/utils/request'

export function getShopMerchandiseJob() {
    return request({
        url: '/shopMerchandiseJob/allMerJob',
        method: 'get',
        // data,
    })
}

export function createMerJob(data) {
    return request({
        url: '/shopMerchandiseJob/createMerJob',
        method: 'post',
        data,
    })
}

export function deleteMerJob(id) {
    return request({
        url: '/shopMerchandiseJob/deleteMerJob?id='+id,
        method: 'get',
    })
}

export function updateMerJob(data) {
    return request({
        url: '/shopMerchandiseJob/updateMerJob',
        method: 'post',
        data,
    })
}
